Paul Eggert [Wed, 13 Mar 2013 05:04:46 +0000 (22:04 -0700)]
Emacs should now build correctly on GNU/Hurd.
Applied upstream patch:
* sysdep.c: Remove a use of BSD_SYSTEM, which I'm trying to phase out.
Include <sys/param.h> unconditionally, as that works elsewhere and
is simpler here. Include <sys/sysctl.h> if DARWIN_OS ||
__FreeBSD__, not if BSD_SYSTEM, since it's needed only for Darwin
and FreeBSD now.
Origin: upstream, commit: 112030,
f83f57c2e20531ff3442904bc450607db19e999c
Added-by: Rob Browning <rlb@defaultvalue.org>
Provided-By: Paul Eggert <eggert@cs.ucla.edu>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725099
Paul Eggert [Wed, 21 Aug 2013 06:11:50 +0000 (23:11 -0700)]
Emacs should no longer hang at startup on kFreeBSD.
Applied upstream patch (in conjunction with
5113963):
Port close-on-exec pty creation to FreeBSD 9.1-RELEASE.
* configure.ac (PTY_OPEN): If posix_openpt with O_CLOEXEC fails
and reports EINVAL, try it again without O_CLOEXEC. This should
port PTY_OPEN to FreeBSD 9, which stupidly rejects O_CLOEXEC.
What were they thinking?
Origin: upstream, commit:
5113964,
5c41cec3858f1828303b67be634b8c39937c8580
Added-by: Rob Browning <rlb@defaultvalue.org>
Provided-By: Paul Eggert <eggert@cs.ucla.edu>
Bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15129
Paul Eggert [Wed, 21 Aug 2013 05:39:51 +0000 (22:39 -0700)]
Emacs should no longer hang at startup on kFreeBSD.
Applied upstream patch (in conjunction with
5113964):
* process.c (allocate_pty) [PTY_OPEN]: Set fd's FD_CLOEXEC flag.
We can't portably rely on PTY_OPEN doing that, even if
it calls posix_openpt with O_CLOEXEC.
Origin: upstream, commit:
5113963,
57c5937ff85bce49f9dc8f4c66851620416bdc07
Added-by: Rob Browning <rlb@defaultvalue.org>
Provided-By: Paul Eggert <eggert@cs.ucla.edu>
Bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15129
Rob Browning [Tue, 5 Apr 2011 03:46:30 +0000 (22:46 -0500)]
Invoke the correct xmlstarlet executable on Debian systems.
Emacs now invokes the correct xmlstarlet executable on Debian systems.
Emacs invokes xmlstarlet rather than xml, which is the correct
executable name on Debian systems.
Provided-by: Jussi Judin <jjudin+debian@iki.fi>
Date: Sat, 20 Oct 2007 14:42:02 UTC
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: Debian specific
Bug: 447378
Rob Browning [Tue, 5 Apr 2011 03:46:29 +0000 (22:46 -0500)]
Look for NEWS in order to find etc/ rather than GNU.
Emacs will now look for NEWS in order to find etc/ rather than GNU.
Since Debian doesn't include GNU in the Debian packages (the common
licenses are in /usr/share/common-licenses), Emacs will now look for
NEWS to find the etc directory instead of GNU.
Provided-by: Sven Joachim <svenjoac@gmx.de>
Originally-reported-by: Bernhard Michler <Boregard@gmx.net>
Date: Mon, 28 Apr 2008 11:20:23 +0200
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: Debian specific
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications.
The output of (version) has been modified to indicate Debian modifications.
Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian.
Various documentation references have been adjusted for Debian.
References to /usr/local/... have been changed to /usr/... as
appropriate, etc.
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG.
Files that appear to be incompatible with the DFSG have been removed.
A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.
In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.
The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.
Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor.
Emacs runs debian-startup and sets debian-emacs-flavor.
* Emacs runs debian-startup during the startup process unless
site-run-file is false.
* The global variable debian-emacs-flavor is bound to 'emacs24.
Author: Rob Browning <rlb@defaultvalue.org>
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs-24 over /usr/share/info.
Emacs will prefer /usr/share/info/emacs-24 over /usr/share/info.
The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs-MAJORVERSION before
/usr/share/info.
Rob Browning [Sat, 6 Apr 2013 15:15:34 +0000 (10:15 -0500)]
Merge tag 'emacs-24.3' into deb/emacs24/d/sid/upstream
Conflicts:
doc/emacs/ChangeLog
doc/emacs/Makefile.in
doc/emacs/abbrevs.texi
doc/emacs/ack.texi
doc/emacs/anti.texi
doc/emacs/arevert-xtra.texi
doc/emacs/basic.texi
doc/emacs/buffers.texi
doc/emacs/building.texi
doc/emacs/cal-xtra.texi
doc/emacs/calendar.texi
doc/emacs/cmdargs.texi
doc/emacs/commands.texi
doc/emacs/custom.texi
doc/emacs/dired-xtra.texi
doc/emacs/dired.texi
doc/emacs/display.texi
doc/emacs/emacs-xtra.texi
doc/emacs/emacs.texi
doc/emacs/emacsver.texi
doc/emacs/emerge-xtra.texi
doc/emacs/entering.texi
doc/emacs/files.texi
doc/emacs/fixit.texi
doc/emacs/fortran-xtra.texi
doc/emacs/frames.texi
doc/emacs/glossary.texi
doc/emacs/gnu.texi
doc/emacs/help.texi
doc/emacs/indent.texi
doc/emacs/killing.texi
doc/emacs/kmacro.texi
doc/emacs/m-x.texi
doc/emacs/macos.texi
doc/emacs/maintaining.texi
doc/emacs/makefile.w32-in
doc/emacs/mark.texi
doc/emacs/mini.texi
doc/emacs/misc.texi
doc/emacs/modes.texi
doc/emacs/msdog-xtra.texi
doc/emacs/msdog.texi
doc/emacs/mule.texi
doc/emacs/package.texi
doc/emacs/picture-xtra.texi
doc/emacs/programs.texi
doc/emacs/regs.texi
doc/emacs/rmail.texi
doc/emacs/screen.texi
doc/emacs/search.texi
doc/emacs/sending.texi
doc/emacs/text.texi
doc/emacs/trouble.texi
doc/emacs/vc-xtra.texi
doc/emacs/vc1-xtra.texi
doc/emacs/windows.texi
doc/emacs/xresources.texi
doc/lispintro/ChangeLog
doc/lispintro/Makefile.in
doc/lispintro/README
doc/lispintro/cons-1.eps
doc/lispintro/cons-2.eps
doc/lispintro/cons-2a.eps
doc/lispintro/cons-3.eps
doc/lispintro/cons-4.eps
doc/lispintro/cons-5.eps
doc/lispintro/drawers.eps
doc/lispintro/emacs-lisp-intro.texi
doc/lispintro/lambda-1.eps
doc/lispintro/lambda-2.eps
doc/lispintro/lambda-3.eps
doc/lispintro/makefile.w32-in
doc/lispref/ChangeLog
doc/lispref/Makefile.in
doc/lispref/README
doc/lispref/abbrevs.texi
doc/lispref/advice.texi
doc/lispref/anti.texi
doc/lispref/back.texi
doc/lispref/backups.texi
doc/lispref/buffers.texi
doc/lispref/commands.texi
doc/lispref/compile.texi
doc/lispref/control.texi
doc/lispref/customize.texi
doc/lispref/debugging.texi
doc/lispref/display.texi
doc/lispref/doclicense.texi
doc/lispref/edebug.texi
doc/lispref/elisp.texi
doc/lispref/errors.texi
doc/lispref/eval.texi
doc/lispref/files.texi
doc/lispref/frames.texi
doc/lispref/functions.texi
doc/lispref/gpl.texi
doc/lispref/hash.texi
doc/lispref/help.texi
doc/lispref/hooks.texi
doc/lispref/index.texi
doc/lispref/internals.texi
doc/lispref/intro.texi
doc/lispref/keymaps.texi
doc/lispref/lay-flat.texi
doc/lispref/lists.texi
doc/lispref/loading.texi
doc/lispref/macros.texi
doc/lispref/makefile.w32-in
doc/lispref/maps.texi
doc/lispref/markers.texi
doc/lispref/minibuf.texi
doc/lispref/modes.texi
doc/lispref/nonascii.texi
doc/lispref/numbers.texi
doc/lispref/objects.texi
doc/lispref/os.texi
doc/lispref/package.texi
doc/lispref/positions.texi
doc/lispref/processes.texi
doc/lispref/searching.texi
doc/lispref/sequences.texi
doc/lispref/spellfile
doc/lispref/streams.texi
doc/lispref/strings.texi
doc/lispref/symbols.texi
doc/lispref/syntax.texi
doc/lispref/text.texi
doc/lispref/tips.texi
doc/lispref/two-volume-cross-refs.txt
doc/lispref/two-volume.make
doc/lispref/variables.texi
doc/lispref/windows.texi
doc/misc/ada-mode.texi
doc/misc/auth.texi
doc/misc/autotype.texi
doc/misc/calc.texi
doc/misc/cc-mode.texi
doc/misc/cl.texi
doc/misc/dbus.texi
doc/misc/dired-x.texi
doc/misc/ebrowse.texi
doc/misc/ede.texi
doc/misc/ediff.texi
doc/misc/edt.texi
doc/misc/eieio.texi
doc/misc/emacs-gnutls.texi
doc/misc/emacs-mime.texi
doc/misc/epa.texi
doc/misc/erc.texi
doc/misc/ert.texi
doc/misc/eshell.texi
doc/misc/eudc.texi
doc/misc/flymake.texi
doc/misc/forms.texi
doc/misc/gnus-coding.texi
doc/misc/gnus-faq.texi
doc/misc/gnus-news.texi
doc/misc/gnus.texi
doc/misc/idlwave.texi
doc/misc/info.texi
doc/misc/mairix-el.texi
doc/misc/message.texi
doc/misc/mh-e.texi
doc/misc/newsticker.texi
doc/misc/nxml-mode.texi
doc/misc/org.texi
doc/misc/pcl-cvs.texi
doc/misc/pgg.texi
doc/misc/rcirc.texi
doc/misc/reftex.texi
doc/misc/remember.texi
doc/misc/sasl.texi
doc/misc/sc.texi
doc/misc/sem-user.texi
doc/misc/semantic.texi
doc/misc/ses.texi
doc/misc/sieve.texi
doc/misc/smtpmail.texi
doc/misc/speedbar.texi
doc/misc/tramp.texi
doc/misc/trampver.texi
doc/misc/url.texi
doc/misc/vip.texi
doc/misc/viper.texi
doc/misc/widget.texi
doc/misc/woman.texi
etc/GNU
Glenn Morris [Mon, 11 Mar 2013 02:35:23 +0000 (19:35 -0700)]
Add 24.3 release to ChangeLogs
Bastien Guerry [Fri, 8 Mar 2013 06:37:21 +0000 (07:37 +0100)]
Fix critical bug in Org.
Glenn Morris [Wed, 6 Mar 2013 12:17:43 +0000 (07:17 -0500)]
Auto-commit of generated files.
Paul Eggert [Wed, 6 Mar 2013 07:46:09 +0000 (23:46 -0800)]
Fix a build failure on OpenBSD 4.x and MirBSD.
* sysdep.c (list_system_processes): Make it a stub on all BSD_SYSTEM
hosts, except for DARWIN_OS and FreeBSD where it's been tested.
Paul Eggert [Tue, 5 Mar 2013 21:56:36 +0000 (13:56 -0800)]
Fix a build failure on OpenBSD 4.x and MirBSD.
* sysdep.c (list_system_processes) [__OpenBSD__ || __MirBSD__]:
Make it a stub in this case; otherwise the build might fail,
and even if the build worked the function would just return nil anyway.
Problem reported by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html>
and analyzed by Jérémie Courrèges-Anglas in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00062.html>.
Paul Eggert [Tue, 5 Mar 2013 17:25:50 +0000 (09:25 -0800)]
* configure.ac (TERM_HEADER): Remove duplicate definition.
It can mess up 'configure' runs.
Glenn Morris [Tue, 5 Mar 2013 03:55:25 +0000 (19:55 -0800)]
Regenerate AUTHORS and ldefs-boot.el
Glenn Morris [Tue, 5 Mar 2013 03:53:34 +0000 (19:53 -0800)]
Bump version to 24.3 (only a release candidate at the moment)
Glenn Morris [Tue, 5 Mar 2013 03:43:52 +0000 (19:43 -0800)]
* Makefile.in (install-man): Ignore gzip exit status.
Paul Eggert [Tue, 5 Mar 2013 02:15:35 +0000 (18:15 -0800)]
Also port to MirBSD.
Paul Eggert [Tue, 5 Mar 2013 02:03:05 +0000 (18:03 -0800)]
Fix a build failure on OpenBSD 4.x.
* sysdep.c (KERN_PROC, kinfo_proc) [BSD_SYSTEM && !KERN_PROC]:
Define to KERN_PROC2 and kinfo_proc2, for OpenBSD 4.9.
list-system-processes still returns nil, but at least it doesn't crash.
Problem reported by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html>.
Glenn Morris [Sun, 3 Mar 2013 18:44:56 +0000 (10:44 -0800)]
* emacs-lisp-intro.texi (Simple Extension): Fix typos.
Glenn Morris [Sun, 3 Mar 2013 02:37:26 +0000 (18:37 -0800)]
* emacs-lisp-intro.texi (defcustom): Fix typo.
Glenn Morris [Sun, 3 Mar 2013 02:34:48 +0000 (18:34 -0800)]
* emacs-lisp-intro.texi (Digression into C): Update example.
Glenn Morris [Sun, 3 Mar 2013 02:09:31 +0000 (18:09 -0800)]
* doc/lispref/objects.texi (Symbol Type): Fix typo.
Andreas Schwab [Sat, 2 Mar 2013 07:48:18 +0000 (08:48 +0100)]
Fixes: debbugs:13734
* lisp.h (XPNTR) [!USE_LSB_TAG]: Remove extra paren.
Glenn Morris [Fri, 1 Mar 2013 12:17:43 +0000 (07:17 -0500)]
Auto-commit of loaddefs files.
Glenn Morris [Fri, 1 Mar 2013 08:24:44 +0000 (00:24 -0800)]
NEWS copyedits
Dmitry Gutov [Thu, 28 Feb 2013 22:18:25 +0000 (02:18 +0400)]
* etc/NEWS: Add entries for ruby-mode.
Glenn Morris [Thu, 28 Feb 2013 06:21:39 +0000 (22:21 -0800)]
* doc/misc/org.texi: Fix previous change.
Glenn Morris [Thu, 28 Feb 2013 06:20:10 +0000 (22:20 -0800)]
NEWS copyedits
Bastien Guerry [Thu, 28 Feb 2013 00:31:26 +0000 (01:31 +0100)]
Merge latest Org fixes (commit
7524ef2).
David Engster [Wed, 27 Feb 2013 21:04:56 +0000 (22:04 +0100)]
* NEWS: Add paragraphs for CEDET and EIEIO.
Eli Zaretskii [Wed, 27 Feb 2013 18:00:57 +0000 (20:00 +0200)]
w32.c (sys_open): Don't reset the flags for FD in fd_info[].
Related to bug #13546.
Bastien Guerry [Wed, 27 Feb 2013 12:12:20 +0000 (13:12 +0100)]
* variables.texi (File Local Variables): Fix reference.
Thanks to Aurélien Aptel and for reporting this problem
and to Xue Fuqiao for suggesting a fix.
Bastien Guerry [Wed, 27 Feb 2013 07:32:16 +0000 (08:32 +0100)]
* xresources.texi (GTK resources): Fix broken link.
Thanks to Mariano Street for reporting this and suggesting
the correct link.
Glenn Morris [Mon, 25 Feb 2013 19:43:44 +0000 (14:43 -0500)]
* lisp/textmodes/paragraphs.el (mark-paragraph): Doc fix.
Fabián Ezequiel Gallina [Mon, 25 Feb 2013 15:02:05 +0000 (12:02 -0300)]
* automated/python-tests.el
(python-tests-with-temp-buffer): Doc fix.
(python-tests-with-temp-file): New macro.
(python-tests-shell-interpreter): New var.
(python-shell-get-process-name-1)
(python-shell-internal-get-process-name-1)
(python-shell-parse-command-1)
(python-shell-calculate-process-environment-1)
(python-shell-calculate-process-environment-2)
(python-shell-calculate-process-environment-3)
(python-shell-calculate-exec-path-1)
(python-shell-calculate-exec-path-2)
(python-shell-make-comint-1)
(python-shell-make-comint-2)
(python-shell-get-process-1)
(python-shell-get-or-create-process-1)
(python-shell-internal-get-or-create-process-1): New tests.
Michael Albinus [Mon, 25 Feb 2013 08:29:59 +0000 (09:29 +0100)]
* tramp.texi (top) [xxx, yyy, trampfn]: Provide two versions of
the macros, for Texinfo 4.13 and 5.0.
Michael Albinus [Sun, 24 Feb 2013 17:58:55 +0000 (18:58 +0100)]
Port documentation to Texinfo 5.0.
* tramp.texi (top) [xxx, yyy, trampfn]: Remove superfluous @c.
(Filename Syntax): Do not use @trampfn{} in @item.
(Filename completion): Use @columnfractions in @multitable.
Michael Albinus [Sun, 24 Feb 2013 17:58:29 +0000 (18:58 +0100)]
Port documentation to Texinfo 5.0.
* tramp.texi (top) [xxx, yyy, trampfn]: Remove superfluous @c.
(Filename Syntax): Do not use @trampfn{} in @item.
(Filename completion): Use @columnfractions in @multitable.
Andreas Schwab [Sun, 24 Feb 2013 08:09:24 +0000 (09:09 +0100)]
Fixes: debbugs:13797
* xdisp.c (set_message): Only check for debug-on-message if STRING
is a string.
Paul Eggert [Sun, 24 Feb 2013 00:21:06 +0000 (16:21 -0800)]
Fix regression introduced by July 10 filelock.c patch.
* filelock.c (fill_in_lock_file_name): Fix crash caused by the
2012-07-10 patch to this file. Reported by Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00533.html>
and diagnosed by Andreas Schwab in
<http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00534.html>.
Glenn Morris [Sat, 23 Feb 2013 21:15:54 +0000 (13:15 -0800)]
TODO update
Eli Zaretskii [Sat, 23 Feb 2013 10:55:13 +0000 (12:55 +0200)]
Minor improvements in the ELisp manual.
doc/lispref/files.texi (Magic File Names): Improve wording and indexing.
Glenn Morris [Fri, 22 Feb 2013 17:10:58 +0000 (09:10 -0800)]
* ack.texi, emacs.texi (Acknowledgments): Small updates
Eli Zaretskii [Fri, 22 Feb 2013 09:22:21 +0000 (11:22 +0200)]
Improve instructions in etc/DEBUG, per bug #13775.
Glenn Morris [Fri, 22 Feb 2013 02:16:44 +0000 (21:16 -0500)]
* doc/misc/flymake.texi (Syntax check statuses): Fix multitable continued rows.
Paul Eggert [Thu, 21 Feb 2013 21:33:04 +0000 (13:33 -0800)]
Port to Texinfo 5.0 by backporting trunk bzrs 111300 and 111840.
Juri Linkov [Thu, 21 Feb 2013 17:45:12 +0000 (19:45 +0200)]
* lisp/isearch.el (isearch-lazy-highlight-new-loop):
Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
to `isearch-other-end' if it is not nil.
* lisp/replace.el (replace-highlight): Let-bind `isearch-other-end'
to `match-beg'.
* lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
Let-bind `isearch-other-end' to `start', `isearch-forward' to t
and `isearch-error' to nil.
Glenn Morris [Thu, 21 Feb 2013 16:54:51 +0000 (08:54 -0800)]
ChangeLog fix
Glenn Morris [Thu, 21 Feb 2013 06:05:10 +0000 (22:05 -0800)]
Remove package not updated in 10 years.
Fabián Ezequiel Gallina [Wed, 20 Feb 2013 20:41:46 +0000 (17:41 -0300)]
* progmodes/python.el (python-info-current-defun): Enhance
match-data cluttering prevention.
Fabián Ezequiel Gallina [Wed, 20 Feb 2013 20:27:08 +0000 (17:27 -0300)]
Added intial test suite for python.el.
* automated/python-tests.el
(python-tests-with-temp-buffer): New macro.
(python-tests-look-at): New function.
(python-tests-look-at-1)
(python-tests-look-at-2)
(python-indent-pep8-1)
(python-indent-pep8-2)
(python-indent-pep8-3)
(python-indent-inside-paren-1)
(python-indent-inside-paren-2)
(python-indent-after-block-1)
(python-indent-after-block-2)
(python-indent-dedenters-1)
(python-indent-after-backslash-1)
(python-indent-after-backslash-2)
(python-nav-beginning-of-defun-1)
(python-nav-beginning-of-defun-2)
(python-nav-end-of-defun-1)
(python-nav-end-of-defun-2)
(python-nav-beginning-of-statement-1)
(python-nav-end-of-statement-1)
(python-nav-forward-statement-
(python-nav-backward-statement-1)
(python-nav-backward-statement-2)
(python-nav-beginning-of-block-1)
(python-nav-end-of-block-1)
(python-nav-forward-block-1)
(python-nav-lisp-forward-sexp-safe-1)
(python-nav-forward-sexp-1)
(python-nav-forward-sexp-2)
(python-nav-forward-sexp-3)
(python-nav-up-list-1)
(python-nav-backward-up-list-1)
(python-imenu-prev-index-position-1)
(python-info-current-defun-1)
(python-info-current-defun-2)
(python-info-current-defun-3)
(python-info-current-symbol-1)
(python-info-current-symbol-2)
(python-info-current-symbol-3)
(python-info-statement-starts-block-p-1)
(python-info-statement-starts-block-p-2)
(python-info-statement-ends-block-p-1)
(python-info-statement-ends-block-p-2)
(python-info-beginning-of-statement-p-1)
(python-info-beginning-of-statement-p-2)
(python-info-end-of-statement-p-1)
(python-info-end-of-statement-p-2)
(python-info-beginning-of-block-p-1)
(python-info-beginning-of-block-p-2)
(python-info-end-of-block-p-1)
(python-info-end-of-block-p-2)
(python-info-closing-block-1)
(python-info-closing-block-2)
(python-info-line-ends-backslash-p-1)
(python-info-beginning-of-backslash-1)
(python-info-continuation-line-p-1)
(python-info-block-continuation-line-p-1)
(python-info-block-continuation-line-p-2)
(python-info-assignment-continuation-line-p-1)
(python-info-assignment-continuation-line-p-2)
(python-info-looking-at-beginning-of-defun-1)
(python-info-current-line-comment-p-1)
(python-info-current-line-empty-p)
(python-util-goto-line-1)
(python-util-clone-local-variables-1)
(python-util-forward-comment-1): New tests.
Glenn Morris [Tue, 19 Feb 2013 21:21:30 +0000 (16:21 -0500)]
* lisp/net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
loaded while outline-regexp is let bound. (Bug#9584)
Fabián Ezequiel Gallina [Tue, 19 Feb 2013 18:53:57 +0000 (15:53 -0300)]
* progmodes/python.el (python-info-current-defun): Fix failed
defun name retrieval because of unwanted match-data cluttering.
Fabián Ezequiel Gallina [Tue, 19 Feb 2013 03:18:32 +0000 (00:18 -0300)]
* progmodes/python.el (python-indent-context): Fix
python-info-line-ends-backslash-p call.
(python-info-line-ends-backslash-p)
(python-info-beginning-of-backslash): Respect line-number
argument.
(python-info-current-line-comment-p): Fix behavior when not at
beginning-of-line.
(python-util-position): Remove function.
(python-util-goto-line): New function.
Glenn Morris [Tue, 19 Feb 2013 03:10:46 +0000 (19:10 -0800)]
Remove some defunct/no longer relevant MORE.STUFF links.
Move info-look stuff to info-look.el commentary.
Glenn Morris [Tue, 19 Feb 2013 01:20:50 +0000 (17:20 -0800)]
* doc/lispref/text.texi (Change Hooks): Fix typo.
Michael Albinus [Mon, 18 Feb 2013 19:13:21 +0000 (20:13 +0100)]
* eshell/em-unix.el (eshell/su): Require tramp.
(eshell/sudo): Require tramp. Remove now unnecessary check.
* net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
`tramp-current-connection' in order to avoid an error when several
commands are invoked in a short time in eshell and friends.
Eli Zaretskii [Mon, 18 Feb 2013 16:38:50 +0000 (18:38 +0200)]
Avoid leaking handles on MS-Windows.
src/w32proc.c (new_child): Avoid leaking handles if the subprocess
resources were not orderly released.
Eli Zaretskii [Mon, 18 Feb 2013 16:34:09 +0000 (18:34 +0200)]
Fix a typo in a comment.
Eli Zaretskii [Sun, 17 Feb 2013 18:17:34 +0000 (20:17 +0200)]
Fix bug #13735 with network streams on MS-Windows.
Revert changes to w32proc.c done since revision 111040.
Do NOT merge to trunk!
src/w32proc.c (new_child): Remove the loop that attempted to salvage
slots of dead processes.
(new_child, delete_child, find_child_pid): Don't insist on
procinfo.hProcess be NULL for a process slot to be considered
inactive, or be non-NULL to be considered active.
(reader_thread): Don't set the FILE_AT_EOF flag of a file
descriptor if the corresponding child was deleted and its
char_avail handle is NULL.
(reap_subprocess): Don't reset the FILE_AT_EOF flag.
(sys_select): Don't pass a NULL process handle to
WaitForMultipleObjects.
Eli Zaretskii [Sun, 17 Feb 2013 16:22:11 +0000 (18:22 +0200)]
Fix bug #13723 with redrawing vertical border in GUI sessions.
src/xdisp.c (x_draw_vertical_border): For a window that is neither
the leftmost nor the rightmost, redraw both the left and the right
vertical borders.
Glenn Morris [Sat, 16 Feb 2013 20:24:50 +0000 (12:24 -0800)]
A few small TODO and CONTRIBUTE updates
Didier Verna [Sat, 16 Feb 2013 02:45:24 +0000 (18:45 -0800)]
* lisp/net/network-stream.el (network-stream-open-starttls):
Check that response to the starttls-command is non-nil.
Eli Zaretskii [Fri, 15 Feb 2013 13:14:26 +0000 (15:14 +0200)]
Fix commit eliz@gnu.org-
20130215094131-hohn5xakw0v6hqp5 for bug #13546.
Glenn Morris [Fri, 15 Feb 2013 12:17:45 +0000 (07:17 -0500)]
Auto-commit of generated files.
Eli Zaretskii [Fri, 15 Feb 2013 09:41:31 +0000 (11:41 +0200)]
Allow deleted processes to be reaped by SIGCHLD handler on MS-Windows.
src/w32proc.c (new_child): Free up to 2 slots of dead processes at a
time. Improve diagnostics in DebPrint.
(reader_thread): If cp->char_avail is NULL, set the FILE_AT_EOF
flag, so that sys_select could have a chance of noticing that this
process is dead, and call a SIGCHLD handler for it. Improve
diagnostics in DebPrint.
(reap_subprocess): Reset the FILE_AT_EOF flag set by
reader_thread.
(sys_select): Watch a process whose procinfo.hProcess is non-NULL
even if its char_avail is NULL. Allows to reap subprocesses that
were forcibly deleted by delete-process. (Bug#13546)
Eli Zaretskii [Fri, 15 Feb 2013 09:01:13 +0000 (11:01 +0200)]
Improve error reporting as part of solving bug #13546 on MS-Windows.
src/w32.c (sys_socket, sys_bind, sys_connect, sys_gethostname)
(sys_gethostbyname, sys_getservbyname, sys_getpeername)
(sys_shutdown, sys_setsockopt, sys_listen, sys_getsockname)
(sys_accept, sys_recvfrom, sys_sendto, fcntl): In case of failure,
make sure errno is set to an appropriate value. (Bug#13546)
(socket_to_fd): Add assertion against indexing fd_info[] with a
value that is out of bounds.
(sys_accept): If fd is negative, do not set up the child_process
structure for reading.
Paul Eggert [Thu, 14 Feb 2013 22:08:38 +0000 (14:08 -0800)]
Backport GCPRO fix from trunk.
The bug was reported for AIX before today's changes.
I reproduced the problem on Fedora 17 x86-64 when setting
GC_MARK_STACK by hand, and I presume it occurs with default
configurations on HP-UX and Unixware.
Trunk fix on 2013-01-14 by Dmitry Antipov <dmantipov@yandex.ru>:
Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
* eval.c (eval_sub): Protect `form' from being GCed before its
car and cdr becomes protected with the backtrace entry.
Paul Eggert [Thu, 14 Feb 2013 20:05:10 +0000 (12:05 -0800)]
Fix AIX port.
* configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX.
(GC_MARK_STACK): Do not set to GC_USE_GCPROS_AS_BEFORE, as that
runs afoul of some other bug in Emacs, and the default value
GC_MAKE_GCPROS_NOOPS has been tested and works.
* src/lisp.h (XPNTR) [!USE_LSB_TAG && DATA_SEG_BITS]:
Fix bug introduced in 2012-07-27 change. DATA_SEG_BITS, if set,
was #undeffed earlier, so it cannot be used as a macro here.
Use the constant and not the macro. Tested on AIX.
* src/unexaix.c: Revert 2013-02-11 and 2013-02-12 changes to this
file. They're almost surely OK but we're just before a release so
we should avoid changes unless they're clearly needed. Instead,
make the following minor change:
(ADDR_CORRECT): New macro.
Glenn Morris [Thu, 14 Feb 2013 17:16:47 +0000 (09:16 -0800)]
* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix re setf.
Stefan Monnier [Thu, 14 Feb 2013 15:53:46 +0000 (10:53 -0500)]
* lisp/net/goto-addr.el (goto-address-fontify): Add start and end args.
(goto-address-fontify-region): Use them instead of narrowing, so
syntax-ppss has access to the whole buffer.
Glenn Morris [Thu, 14 Feb 2013 01:24:03 +0000 (20:24 -0500)]
* lispref/modes.texi (Basic Major Modes): 'z' no longer bound in special-mode.
Fabián Ezequiel Gallina [Thu, 14 Feb 2013 00:42:11 +0000 (21:42 -0300)]
* progmodes/python.el: Explain how to restore "cc-mode"-like
forward-sexp movement in header documentation.
(python-nav--forward-sexp): Behave like emacs-lisp-mode in
comments and strings (GH bug 114).
Fabián Ezequiel Gallina [Wed, 13 Feb 2013 23:09:12 +0000 (20:09 -0300)]
Push ChangeLog entry for previous commit.
Fabián Ezequiel Gallina [Wed, 13 Feb 2013 23:07:59 +0000 (20:07 -0300)]
* progmodes/python.el (python-info-current-defun): Fix current
defun detection.
Eli Zaretskii [Wed, 13 Feb 2013 17:04:30 +0000 (19:04 +0200)]
More robust creation of a subprocess, attempt to solve bug #13546.
src/w32proc.c (new_child): If no vacant slots are found in
child_procs[], make another pass looking for slots whose process
has exited or died.
Eli Zaretskii [Wed, 13 Feb 2013 17:00:26 +0000 (19:00 +0200)]
Cleanup related to bug #13546 with subprocesses on MS-Windows.
src/w32.c (sys_pipe): When failing due to file descriptors above
MAXDESC, set errno to EMFILE.
(_sys_read_ahead): Update cp->status when failing to read serial
communications input, so that the status doesn't stay at
STATUS_READ_IN_PROGRESS.
Chong Yidong [Wed, 13 Feb 2013 07:24:11 +0000 (15:24 +0800)]
* xml.el (xml-parse-string): Fix typo in handling of bad character references.
Glenn Morris [Wed, 13 Feb 2013 04:26:43 +0000 (20:26 -0800)]
* src/keyboard.c (input-decode-map, key-translation-map): Doc fixes.
Glenn Morris [Wed, 13 Feb 2013 02:25:02 +0000 (21:25 -0500)]
* doc/lispref/objects.texi (Char-Table Type): Add footnote about #^^.
Glenn Morris [Wed, 13 Feb 2013 02:20:52 +0000 (21:20 -0500)]
* doc/lispref/modes.texi (Minor Mode Conventions): Fix typo.
Paul Eggert [Tue, 12 Feb 2013 18:43:11 +0000 (10:43 -0800)]
Improve AIX port some more.
With this, it should be as good as it was in 23.3, though it's
still pretty bad: the dumped emacs does not run. See Mark Fleishman in
http://lists.gnu.org/archive/html/help-gnu-emacs/2011-04/msg00287.html
* unexaix.c (start_of_text): Remove.
(_data, _text): Declare as char[], not int, as AIX manual suggests.
(bias, lnnoptr, text_scnptr, data_scnptr, load_scnptr)
(orig_load_scnptr, orig_data_scnptr):
Now off_t, not long, since they are file offsets.
(make_hdr): Use _data, not start_of_data ().
This is the key part of the fix.
(make_hdr, unrelocate_symbols): Use off_t for file offsets.
(unrelocate_symbols): Cast pointers to intptr_t, not to ulong.
Paul Eggert [Tue, 12 Feb 2013 18:33:42 +0000 (10:33 -0800)]
* pre-crt0.c (data_start): Initialize to 1.
This ports to compilers that optimize the external declaration
'int x = 0;' as if it were 'int x;' to shrink the executable.
Paul Eggert [Tue, 12 Feb 2013 17:36:54 +0000 (09:36 -0800)]
In doc, use standard American English style for e.g., etc., i.e.
Glenn Morris [Tue, 12 Feb 2013 00:33:18 +0000 (19:33 -0500)]
keymaps.texi small fix for bug#13684
* doc/lispref/keymaps.texi (Scanning Keymaps):
Remove obsolete sentence about meta characters; this changed in 22.1.
Paul Eggert [Mon, 11 Feb 2013 20:32:54 +0000 (12:32 -0800)]
Improve AIX port.
This doesn't fix the bug, but it makes progress: Emacs builds now.
* unexaix.c: Include inttypes.h, stdarg.h.
(report_error, report_error_1): Mark as _Noreturn.
(report_error): Don't report the wrong errno.
(report_error_1): Now varargs. All callers changed.
(make_hdr): Use uintptr_t, not unsigned, when converting pointers
to unsigned. Don't use ADDR_CORRECT, as it no longer exists.
(write_ptr): Use %p to print address rather than %lx and a cast
to unsigned long. Grow buffer a bit, to be safer.
Eli Zaretskii [Mon, 11 Feb 2013 17:27:48 +0000 (19:27 +0200)]
Fix rare aborts in bidi.c.
src/bidi.c (bidi_resolve_neutral): After finding the next
non-neutral character, accept NEUTRAL_ON type as well, because
directional control characters, such as LRE and RLE, have their
type converted to that by bidi_resolve_weak. This avoids aborts
when LRE/RLE follows a run of neutrals.
(bidi_move_to_visually_next): Assert that return value of
bidi_peek_at_next_level is non-negative. Negative values will
cause an infloop.
Glenn Morris [Mon, 11 Feb 2013 01:46:52 +0000 (17:46 -0800)]
NEWS copyedit (consistent capitalization for top-level headings)
Glenn Morris [Mon, 11 Feb 2013 01:21:21 +0000 (17:21 -0800)]
* doc/lispref/objects.texi (Char-Table Type): Add cindex.
Glenn Morris [Mon, 11 Feb 2013 01:16:30 +0000 (17:16 -0800)]
* doc/lispref/keymaps.texi (Key Binding Commands): Trivial rephrasing.
Michael Albinus [Sun, 10 Feb 2013 10:07:09 +0000 (11:07 +0100)]
* net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
if DIR exists and PARENTS is non-nil.
Glenn Morris [Sun, 10 Feb 2013 01:54:16 +0000 (17:54 -0800)]
* doc/emacs/trouble.texi (Checklist): Update bug keybinding.
Glenn Morris [Sun, 10 Feb 2013 01:32:14 +0000 (17:32 -0800)]
ChangeLog typo fix
Katsumi Yamaoka [Sun, 10 Feb 2013 00:51:34 +0000 (00:51 +0000)]
lisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend
Chong Yidong [Sat, 9 Feb 2013 04:43:42 +0000 (12:43 +0800)]
Correct non-standard binding of report-emacs-bug-insert-to-mailer.
* lisp/mail/emacsbug.el (report-emacs-bug): Change binding of
report-emacs-bug-insert-to-mailer to C-c M-i.
Glenn Morris [Sat, 9 Feb 2013 02:36:39 +0000 (21:36 -0500)]
* doc/lispref/keymaps.texi (Creating Keymaps): Update make-keymap result.